package com.geek.spring.bean;

/**
 * @program java-spring
 * @description: cd播放器
 * @author: chanzhugang
 * @create: 2021/04/18 00:14
 */
public class CDPlayer {

    private CompactDisc compactDisc;

    public CDPlayer(CompactDisc compactDisc) {
        this.compactDisc = compactDisc;
    }

    public void play(String str) {
        compactDisc.play(str);
    }
}